<?php echo $this->render('cabecera.phtml'); ?>

<div id="content" class="row-fluid">
 
<!--/menu izquierdo -->
<div class="span3">
    <div class="well sidebar-nav">
        <ul class="nav nav-list">
            <br>
            <center><?php echo $this->render('logo.phtml'); ?></center>
            <br>
            <div class="alert alert-resaltar">
                <li class="nav-header">OPCIONES</li>
                <li><a href="/blog" >Volver</a></li>  
            </div>
            <br>
            <center><?php echo $this->render('facebook.phtml'); ?></center>
            <br>
        </ul>
    </div><!--/.well -->
</div><!--/span-->


<!--/panel derecho-->
<div class="span9">
    <div class="hero-unit">
        <center><h2>Listado de todos los articulos cuyos autores han sido eliminados</h2></center>
    </div>
    <table id="list_blog_art" class="table table-striped">
        <tr>
            <td></td>
            <td><h3>Nombre</h3></td>
            <td><h3>Título</h3></td>
            <td><h3>Fecha</h3></td>
            <td></td>
            <td></td>
        </tr>
        <?php foreach($this->articulos as $art) : ?>
        <tr class="fila"
            onclick="location.href='<?php echo $this->url(array(
                    'module'=>'blog',
                    'controller'=>'articulos',
                    'action'=>'ver', 
                    'id'=>$art->id));?>'"
         >
                <td><img src="<?php echo $art->imagen ?>" height="25px" width="25px"></img></td>
                <td><h3><?php echo $art->nombre ?></h3></td>
                <td><h3><?php echo $art->titulo ?></h3></td>
                <td><h3><?php echo $art->fecha_crea ?></h3></td>
                <td><a href="<?php echo $this->url(array(
                        'module'=>'blog',
                        'controller'=>'articulos',
                        'action'=>'editar', 
                        'id'=>$art->id));?>">Editar</a></td>
                <td><a href="<?php echo $this->url(array(
                        'module'=>'blog',
                        'controller'=>'articulos',
                        'action'=>'borrar', 
                        'id'=>$art->id));?>">Borrar</a></td>
            </tr>
        <?php endforeach; ?>
    </table>
    <br>
</div><!--/span-->

</div><!--/contentrow-->

<?php echo $this->render('pie.phtml'); ?>